package com.mq.retry;

import java.io.Serializable;

/**
 * @author ytj
 * @date 2024/1/16
 */
public class Demo7Message implements Serializable {
    /**
     * 正常队列
     * */
    public static final String QUEUE = "demo7_queue";
    /**
     * 死信队列
     * */
    public static final String DEAD_QUEUE = "demo7_dead_queue";
    /**
     * 交换机
     * */
    public static final String EXCHANGE = "demo7_exchange";
    /**
     * 正常路由键
     * */
    public static final String ROUTINGKEY = "demo7_routingkey";
    /**
     * 死信路由键
     * */
    public static final String DEAD_ROUTINGKEY = "demo7_dead_routingkey";
    private Integer id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Demo7Message(Integer id) {
        this.id = id;
    }
}
